
function createiframe() 
{

        var iframe = document.createElement("iframe");
        iframe.style.border = "0px";
        iframe.style.width = "0px";
        iframe.style.height = "0px";
		document.body.appendChild(iframe);
		
}

function initialize() 
{
    var hiddenForm = document.getElementById('displayinfo');
    if(hiddenForm != null) 
    { 
       parent.currentframe.document.getElementById('information').innerHTML = hiddenForm.innerHTML; 
    }
}
function retrieveInformation() 
{
	
    var city = document.getElementById("selectCity").value;
	var type = "";
	var input = document.getElementsByTagName("input");
	for (var i=0; i < input.length; i++)
	{ 
	    if (input.item(i).checked == true)
	    {
	        type = input.item(i).value;
	    }
	}
	top.frames[1].location = "retrieveHotelInformation2.aspx?city=" + city + "&type=" + type;
}


function appendDiv() {
		//var div=doc.createElement("div");
		//div.id = "displayinfo";	
		//doc.body.appendChild(div); 
}








